//
//  AreaAddressModel.h
//  efairy
//
//  Created by 李锋 on 2019/1/7.
//  Copyright © 2019年 East. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <YYModel.h>


@interface TownshipModel : NSObject<NSCoding>
@property (nonatomic, copy) NSString *efairytownship_id;//街道编号
@property (nonatomic, copy) NSString *efairyproject_township;
@property (nonatomic, copy) NSString *efairytownship_name;
@property (nonatomic, readonly) BOOL isCheck;
@end


@interface DistrictModel : NSObject<NSCoding>
@property (nonatomic, copy) NSString *efairydistrict_id;//区编号
@property (nonatomic, copy) NSString *efairyproject_district;
@property (nonatomic, copy) NSString *efairydistrict_name;
@property (nonatomic, strong) NSMutableArray<TownshipModel *> *township_list;
@property (nonatomic, assign) NSInteger total_rows;//总街道数
@property (nonatomic, readonly) BOOL isCheck;
@end

@interface CityModel : NSObject<NSCoding>
@property (nonatomic, copy) NSString *efairycity_id; // 市编号
@property (nonatomic, copy) NSString *efairyproject_city;
@property (nonatomic, copy) NSString *efairycity_name;
@property (nonatomic, strong) NSMutableArray<DistrictModel *> *district_list;
@property (nonatomic, assign) NSInteger total_rows;//总区县数
@property (nonatomic, readonly) BOOL isCheck;
@end


@interface ProvinceModel : NSObject<NSCoding>
@property (nonatomic, copy) NSString *efairyprovince_id; // 省编号
@property (nonatomic, copy) NSString *efairyproject_province;
@property (nonatomic, copy) NSString *efairyprovince_name;
@property (nonatomic, strong) NSMutableArray<CityModel *> *city_list;
@property (nonatomic, copy) NSString *total_rows;//总城市数
@property (nonatomic, readonly) BOOL isCheck;
@end


@interface ProvinceListModel : NSObject<NSCoding>
@property (nonatomic, strong) NSMutableArray<ProvinceModel *> *province_list;
@end


@interface AreaAddressModel : NSObject

@end

